cmake_minimum_required(VERSION 2.8)
project(optimization)

set(CMAKE_CXX_STANDARD 11)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

find_package(Ceres REQUIRED)
include_directories(${CERES_INCLUDE_DIRS})

message(STATUS "${CERES_INCLUDE_DIRS}")

add_executable(main main.cpp)

add_executable(curving src/curving.cpp)
target_link_libraries(curving ${CERES_LIBRARIES})

add_executable(Powell src/Powell.cpp)
target_link_libraries(Powell ${CERES_LIBRARIES})

